package com.ctshk.rpc.starvip.dto.start_vip.member.register;

import com.ctshk.rpc.starvip.dto.start_vip.SiebelMessage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import java.io.Serializable;

/**
 * @Author: 李新科
 * @CreateTime: 2021-05-25
 * @Description: 会员注册
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@XmlRootElement(name = "SiebelMessage")
public class RegisterMemberOperation extends SiebelMessage implements Serializable {

    @XmlAttribute(name = "xmlns")
    private String xmlns;

    @XmlElement(name = "ListOfMembers")
    private RegisterListOfMembers listOfMembers;

    @XmlTransient
    public RegisterListOfMembers getListOfMembers() {
        return listOfMembers;
    }

    @XmlTransient
    public String getXmlns() {
        return xmlns;
    }
}
